﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyGiaoVuDAL.DTO
{
    public class TietHocDTO
    {
        public int MaTiet { get; set; }
        public int TietThu { get; set; }
        public TimeSpan GioBatDau { get; set; }
        public TimeSpan GioKetThuc { get; set; }
        public int? Ca { get; set; }
        public bool Buoi { get; set; }

        public string TenTietDayDu
        {
            get
            {
                if (MaTiet != -1)
                    return TietThu.ToString() + " : " + GioBatDau.ToString() + " - " + GioKetThuc.ToString();
                else
                    return "Không";
            }
        }
    }
}
